﻿<UserControl 
    x:Class="UI.Grid.EntityGridView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
    xmlns:MyGrid="clr-namespace:UI.Grid"
    Width="400" Height="300" Loaded="UserControl_Loaded">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="26"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="26"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <MyGrid:DataNavigator 
            x:Name="naviControl1" Grid.Row="0" Grid.Column="0"
            OnPageIndexChanged="naviControl_OnPageIndexChanged"
            AttachedGridName="dgOrgs"/>
        <Data:DataGrid x:Name="dgOrgs" Grid.Column="0" Grid.Row="1">
        </Data:DataGrid>
        <MyGrid:DataNavigator 
            x:Name="naviControl2" Grid.Row="2" Grid.Column="0"
            OnPageIndexChanged="naviControl_OnPageIndexChanged"
            AttachedGridName="dgOrgs"/>
    </Grid>
</UserControl>
